@import 'src/res/theme/xxhz';

page {
  width: 100%;
  box-sizing: border-box;
}

.team-leader-collection {
  margin: 0 20px;
  padding: 0 20px;
  background: #fff;

  .at-switch {
    margin-left: 0 !important;
    background-color: initial !important;
    padding: 14px 0 !important;

    .at-switch__title {
      font-size: 24px;
      color: #333;
    }
  }
}

.place-root {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 150px;
  padding-top: .1px;

  a {
    display: inherit !important;
  }

  .layout-coupon-place {
    .at-float-layout__container {
      max-height: 90vh;
    }

    .layout-body {
      padding-bottom: calc(env(safe-area-inset-bottom) + 120px);
    }
  }

  .site-discount-method {
    .at-float-layout__container {
      max-height: 90vh;
    }

    .layout-body {
      padding-bottom: calc(env(safe-area-inset-bottom) + 120px);
    }
  }

  .checkbox__input {
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    display: inline-block;
    position: relative;
    vertical-align: middle;

    .checkbox__inner {
      display: inline-block;
      position: relative;
      border-radius: 50%;
      box-sizing: border-box;
      width: 40px;
      height: 40px;
      z-index: 1;
      transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46);
      background-color: #409eff;
      border-color: #409eff;
    }
  }

  .checkbox__input.is-checked .checkbox__inner:after {
    box-sizing: content-box;
    content: "";
    border: 1Px solid #fff;
    border-left: 0;
    border-top: 0;
    height: 14px;
    left: 50%;
    position: absolute;
    top: 0;
    width: 6px;
    transition: transform .15s ease-in .05s;
    transform-origin: center;
    transform: rotate(45deg) scaleY(1) translate(50%, 50%);
  }

  .at-switch::after {
    content: none !important;
  }

  .delivery-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    color: #000;
    margin: 0 20px;
    padding: 20px;
    background: #fff;
  }

  .at-steps__left-line, .at-steps__right-line {
    right: 90%;
  }

  .at-steps__left-line {
    background-color: #e7e8ea;
  }

  .at-steps__right-line {
    background-color: #e7e8ea;
    left: 90%;
  }

  .at-steps__circular {
    color: inherit;
    background-color: inherit;
  }

  .at-steps__title {
    line-height: 1.2;
    font-size: 26px;
    color: #29292a;
  }

  .moneying {
    border-top: 1Px solid #f7f7f7;
    height: 90px;
    padding: 0 20px;
    margin: 20px auto 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    .label {
      font-size: 28px;
      color: #333333;
    }

    .val {
      font-size: 28px;
      color: #ca0000;
    }
  }

  .couponMoneyName {
    margin-left: 14px;
    color: #666;
  }

  .group-box {
    display: flex;
    overflow: hidden;
    padding: 0 20px;
    height: 80px;
    margin: 0 auto;
    background: #fff;
    justify-content: space-between;
    align-items: center;

    .team-leader-discount {
      height: 28px;
      line-height: 28px;
      text-align: center;
      border-radius: 64px;
      padding: 0 8px;
    }

    .label {
      font-size: 24px;
      color: #333;
    }

    .operate {
      display: flex;
      align-items: center;
      font-size: 22px;
      color: #999;
      width: 450px;
      position: relative;

      .operate-right {
        position: absolute;
        right: 0;
      }

      text {
        font-size: 26px;
        font-weight: bold;
      }

      at-switch {
        transform: scale(0.7);
        margin-left: -20px;
      }
    }

    .val {
      font-size: 24px;
      color: #ca0000;
    }
  }

  .group-item {

    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    line-height: 40px;
    font-size: 24px;
    color: $color-font-less;
    border-bottom: solid 1px #f6f6f6;

    .group-nametop {
      font-size: 30px;
      color: #000;
    }

    .group-product {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 28px;
      color: #333;

      .group-check {
        width: 40px;
        height: 40px;
        border-radius: 20px;

        image, .taro-img {
          width: 40px;
          height: 40px;
        }

        .only {
          width: 36px;
          border: 1Px solid #ccc;
          border-radius: 50%;
          height: 36px;
          background: #fff;
        }
      }

      .group-name {
        width: calc(100% - 60px);
        color: #666;

        text, .taro-text {
          color: #e76f3d;
          float: right;
        }
      }

      .group-num {
        font-size: 24px;
        padding-left: 50px;
        color: $color-font-less;
      }
    }

    &:last-child {
      border-bottom: none;
    }
  ;
  }

  .dombox {
    margin: 20px auto 0;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 10px;
    background: #fff;
  }

  .at-input {
    margin-left: 0;
    padding-left: 15px;

    .at-input__title, .at-input__input {
      font-size: 24px;
    }

    margin-bottom: 20px;
  }

  .at-switch::after {
    border-bottom-width: 0;
  }

  .goods-num-xj {
    margin-top: 30px;
    display: flex;
    align-items: center;
    font-size: 30px;
    justify-content: flex-end;

    .symbol {
      font-size: 20px;
    }

    .price {
      font-size: 30px;
    }

    .total-nums {
      margin-right: 20px;
    }
  }

  .good-box {
    padding: 30px 20px 30px;

    .good-box-top {
      width: 100%;
      display: flex;

      .img {
        width: 176px;
        height: 176px;
        min-width: 176px;
        max-width: 176px;
        border-radius: 16px;
      }

      .good-box-info {
        width: 100%;
        min-height: 176px;
        padding-left: 20px;
        display: flex;
        flex-wrap: wrap;

        .price-num {
          width: 100%;
          display: flex;
          align-items: flex-end;
          justify-content: space-between;

          .originalPriceColor {
            display: flex;
            align-items: center;
            font-size: 22px;
          }

          .info {
            display: flex;
            align-items: center;

            .price {
              display: flex;
              align-items: center;
              color: #000;
              margin-right: 12px;

              .symbol {
                font-size: 22px;
                position: relative;
                bottom: -3px;
              }

              font-size: 36px;
            }

            .market-price {
              margin-left: 2px;
              display: flex;
              align-items: center;
              text-decoration: line-through;

              .symbol {
                font-size: 18px;
              }

              .price-market {
                font-size: 22px;
              }
            }
          }
        }

        .group-label {
          background-color: #f73c01;
          color: #fff;
          padding: 0 6px;
          height: 30px;
          line-height: 30px;
          font-size: 20px;
          width: 50px;
          text-align: center;
          border-radius: 64px;
          margin-top: 8px;
        }

        .good-num {
          align-self: flex-end;
          display: flex;
          justify-content: flex-end;

          &.h5 {
            .at-input-number__input {
              height: 100%;
            }
          }
        }

        .good-box-lab {
          max-width: 300px;
          font-size: 22px;
          background: #f0f0f0;
          color: #999;
          display: inline-block;
          padding: 0px 10px;
          line-height: 1.5;
          border-radius: 6px;
          margin-top: 15px;
        }

        .title {
          display: flex;
          justify-content: space-between;
          width: 100%;

          .name {
            color: #333;
            font-size: 22px;
            overflow: hidden;

            .name-box {
              display: -webkit-box;
              -webkit-line-clamp: 3;
              /*! autoprefixer: ignore next */
              -webkit-box-orient: vertical;
              /* autoprefixer: on */
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }

          .info {
            font-size: 26px;
            color: #888888;
            text-align: right;

            .price {
              font-size: 26px;
            }

            .num {
              font-size: 24px;
            }
          }
        }
      }
    }

    .good-box-bottom {
      width: 100%;
      height: 82px;
      line-height: 82px;
      display: flex;
      padding-right: 10px;

      .label {
        font-size: 24px;
        color: #333;
        padding-right: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }

      .check-box {
        font-size: 22px;
        color: #333;
        display: flex;

        .radio-box {
          display: flex;
          align-items: stretch;
          padding-right: 10px;

          radio {
            transform: scale(0.7);
          }
        }

      }
    }
  }

  .taro-checkbox_checked {
    margin-right: 4px;
    top: inherit !important;
  }

  .adddemo {
    min-height: 142px
  }

  .addxian {
    width: 100%;
    height: 12px;
  }

  .team-add-box {
    background-color: #fff;
    border-radius: 10px;
    margin: 0 20px;
    padding: 20px 20px !important;
    margin-top: 20px;
    border-bottom: 1Px solid #f1f2f5;
  }

  .add-box {
    padding: 0 20px;
    min-height: 130px;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .addnull {
      width: 610px;
      font-size: 24px;
      color: #333;
      display: flex;
      align-items: center;
    }

    .add-cont {
      display: flex;
      align-items: center;
      flex-wrap: wrap;

      .name {
        color: #101010;
        font-size: 32px;
        font-weight: bold;
        margin: 6px 0;
        width: 100%;

        text {
          font-weight: normal;
          padding-left: 15px;
          color: #888888;
        }
      }

      .address {
        font-size: 24px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      }
    }
  }

  .listbox {
    margin: 20px auto 0;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 10px;
    background: #fff;
    padding-bottom: 30px;

    .head-title {
      .img {
        width: 32px;
        height: 32px;
        vertical-align: baseline;
        margin-right: 20px;
      }

      padding: 0 20px;
      height: 80px;
      font-size: 34px;
      color: #000;
      line-height: 80px;

      .head-title-rt {
        font-size: 24px;
        color: #888;
        float: right;
      }
    }
  }

  .private-self {
    line-height: 50px;
    padding-right: 10px;

    .right {
      float: right;

      at-icon {
        display: flex;
        align-items: center;
      }

      height: 50px;
      display: flex;
      align-items: center;
    }

    .label {
      font-size: 24px;
      color: #333333;
      float: left;
      width: 120px;
    }

    .address {
      float: left;
      font-size: 24px;
      color: #333;
      width: 500px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;

      .beizhu {
        color: #ca0000;
        font-size: 22px;
      }

    }

    .null {
      color: #999999;
    }

  }

  .ifnull {
    width: calc(100% - 120px);
    padding-left: 120px;
    border: 1px solid #fff;
    text-align: left;
    line-height: 64px;
    color: #ca0000;
    font-size: 20px;
  }

  .ifnull.show {
    background: #ffe3e3;
    border: 1px solid #ffcdcd;

    at-icon {
      float: left;
      margin-right: 15px
    }
  }

  .private-self::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    clear: both;
  }

  .group-tip-warning {
    margin-left: 95px;

    .group-warn_info {
      background-color: #fff5ee;
      padding: 12px 22px;
      border: 1PX solid #f9cfb2;
      color: #888888;
      font-size: 24px;
      margin-right: 20px;
    }

    .text-warn_info {
      margin-left: 12px;
    }
  }

  .agreement {
    font-size: 24px;
    color: $color-font-secondry;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-bottom: 16px;

    .agreecheck {
      line-height: 38px;
    }

    image, .taro-img {
      width: 38px;
      height: 38px;
      vertical-align: sub;
      margin-right: 15px;
    }

    .clause {
      color: #38f;
    }
  }

  .bottom-pay {
    width: 100%;
    background: white;
    height: 120px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f7f7f7;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.01);
    padding-bottom: env(safe-area-inset-bottom);

    .submit-order {
      background-color: #ffdd09;
    }

    .left {
      padding-left: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;

      .pay {
        font-size: 26px;
        color: #333333;

        .text-num-pay {
          font-size: 30px;
        }
      }

      .val {
        font-size: 24px;
        color: #ca0000;
      }

      .youhui {
        font-size: 18px;
        color: #666;
      }
    }

    .right {
      color: #000;
      font-size: 30px;
      text-align: center;
      border: none;
      margin: 0;
      margin-right: 30px;
      font-weight: bold;
      border-radius: 64px;
      padding: 20px 60px;
      margin-right: 30px;

      &:after {
        border: none;
      }
    }
  }
}

checkbox .wx-checkbox-input {
  width: 28px;
  height: 28px;
  color: $mainColor;
  border-radius: 50%;
}

checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  background: $mainColor;
}

checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}

.at-input::after {
  border-color: #f0f0f0;
}

.at-input__title {
  width: 94px;
}

.two-hidden {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.modal-box {
  position: relative;
  padding-bottom: 135px;

  .close-modal {
    position: absolute;
    left: 0;
    top: 0;
  }

  .modal-title {
    margin-bottom: 60px;
  }

  .modal-item {
    width: calc(100% - 20px);
    margin: 0 auto;
    border-bottom: 1px solid #e8e8e8;
    height: 90px;
    line-height: 90px;

    image, .taro-img {
      width: 40px;
      height: 40px;
      margin-right: 24px;
      vertical-align: sub;
    }

    .right {
      float: right;
    }
  }

  .disabled {
    color: #999;

    .czbox {
      overflow: hidden;
      display: inline-block;
      vertical-align: middle;

      .cztext {
        height: 40px;
        line-height: 40px;
        font-size: 24px;
      }
    }

    .right {
      float: right;
      color: #f58240;
      font-size: 26px;
    }
  }
}

.at-modal {
  z-index: 99999;
}

.modal-title {
  font-size: 36px;
  color: #333;
  text-align: center;
}

.custom_config {
  margin-bottom: 0 !important;
  border-bottom: 1px solid #eee;
}

.coupon_config {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  height: 56px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
  margin-bottom: 0 !important;

  .label {
    font-size: 24px;
    color: #333;
  }

  .val {
    font-size: 24px;
    color: #ca0000;
  }
}

.coupon-active {
  background: #ece9e9 !important;
}

.pc-root {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 540px;
  padding: 80px 0 100px 0;
  box-sizing: border-box;
  border-radius: 20px;
  background: #fff;
  position: relative;

  .pc-tips {
    font-size: 32px;
    margin-top: 74px;
    font-weight: bold;
  }

  .pcqrcode {
    width: 300px;
    height: 300px;
  }

  .pc-close-img {
    width: 60px;
    height: 60px;
    margin-top: 20px;
  }

  .gzh-close {
    position: absolute;
    top: 10px;
    right: 30px;
  }
}

.deny-reason {
  font-size: 24px;
  color: #ff3e01;
}

.deny-reason-car {
  margin-top: 20px;
  font-size: 28px;
  color: #ff3e01;
}

.error-submit {
  background-color: #cccccc !important;
}

.can-use-coin {
  align-items: center;
  font-size: 22px;
  color: #999;
  margin-left: 18px;
}
